home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2622 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: news.sunquest.com!kitk!kitk
  2. From: kitk@mudshark.sunquest.com (Kit Kauffmann)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help in calling Dos...
  5. Date: Thu, 18 Jan 1996 12:52:36
  6. Organization: Sunquest
  7. Message-ID: <kitk.2068.000CE0CE@mudshark.sunquest.com>
  8. References: <177126FE7S85.UZS7FC@ibm.rhrz.uni-bonn.de>
  9. NNTP-Posting-Host: kkauffma.sunquest.com
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  11.  
  12. In article <177126FE7S85.UZS7FC@ibm.rhrz.uni-bonn.de> UZS7FC@ibm.rhrz.uni-bonn.de (Michael Kuesters) writes:
  13. >From: UZS7FC@ibm.rhrz.uni-bonn.de (Michael Kuesters)
  14. >Subject: Help in calling Dos...
  15. >Date: Thu, 18 Jan 96 07:57:27 MEZ
  16.  
  17. >I need help calling a Dos .exe or .com file directly from my program. If I
  18. >want to make a small shell, I would need to figure how to have my program start
  19. >the user-choice program.
  20. >Other thing: suppose I'd want to codeprotect some of my stuff. I wrote a code
  21. >"please enter password" (real simple, I know) and check it out already, but how
  22. >would I append it to my exe so that it would run afterwards?
  23.  
  24. Perhaps I've misunderstood, but don't you want a Windows program (where you 
  25. validate the password) which then invokes the DOS pgm via WinExec( 
  26. "command.com your.exe) - using command to actually run the DOS.EXE
  27.  
  28. HTH!
  29.  
  30.  
  31. Kit Kauffmann - kitk@mudshark.sunquest.com
  32. AKA 73363,447 (Compu$erve)
  33.  
  34. Finger me for my public key
  35.